objc = $(wildcard *.o)
executalbe = $(objc:.o=_app)

all:$(executalbe)
	cp *_app ../output
$(executalbe):%_app:%.o
	$(CC) $^ -o $@  -lpthread $(LDFLAGS)



